﻿namespace FFF.Test.Application.Repositories.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW;

	/// <summary>
    /// 标准角色表(树)展示时候的dto
    /// </summary>
	[AutoMap(typeof(FWStandardRoleEntity))] 
    public class FWStandardRoleResDto : EntityDto<Guid>
    {
		/// <summary>
        /// 标准角色类型GUID
        /// </summary>
		[Display(Name = "标准角色类型GUID", Description = "标准角色类型GUID")]
        [Column("StandardRoleTypeGUID")]
        public Guid? StandardRoleTypeGUID { get; set; }
        
		/// <summary>
        /// 标准角色名称
        /// </summary>
		[Display(Name = "标准角色名称", Description = "标准角色名称")]
        [Column("StandardRoleName")]
		[StringLength(128)]
        public string StandardRoleName { get; set; }
        
		/// <summary>
        /// 标准角色编码
        /// </summary>
		[Display(Name = "标准角色编码", Description = "标准角色编码")]
        [Column("StandardRoleCode")]
		[StringLength(128)]
        public string StandardRoleCode { get; set; }
        
		/// <summary>
        /// 说明
        /// </summary>
		[Display(Name = "说明", Description = "说明")]
        [Column("StandardRoleComments")]
		[StringLength(99999)]
        public string StandardRoleComments { get; set; }
        
		/// <summary>
        /// 树形的排序编码
        /// </summary>
		[Display(Name = "树形的排序编码", Description = "树形的排序编码")]
        [Column("OrderCode")]
		[StringLength(512)]
        public string OrderCode { get; set; }
        
		/// <summary>
        /// 对应的图标
        /// </summary>
		[Display(Name = "对应的图标", Description = "对应的图标")]
        [Column("Icon")]
		[StringLength(128)]
        public string Icon { get; set; }
        
    }
}
